/**
 * @description form hooks
 * @author 盘古他爹
 */

class FormHandle {
  //重置
  formReset<T>(data: T) {
    Object.keys(data).forEach((item) => ((data as any)[item] = ""))
  }
}

export default new FormHandle()
